package com.chinaedu.oc.serv.saledate.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chinaedu.oc.dao.saledate.IVideoDao;
import com.chinaedu.oc.po.saledate.Videos;
import com.chinaedu.oc.serv.saledate.IVideoServ;


@Service
public class VideoServImpl implements IVideoServ {

	@Autowired
	private IVideoDao videoDao;
	
	@Override
	public void insert(List<Videos> videos) {
		// TODO Auto-generated method stub
		videoDao.insert(videos);
	}

	@Override
	public void deleteBySaledateId(String saleDateId) {
		// TODO Auto-generated method stub
		videoDao.deleteBySaledateId(saleDateId);
	}

}
